<?php

class ArmoryParserProfile
{
        
        public $oProfileData;
        public $aGlyphs;
        public function __construct($oProfileData)
        {
                $this->oProfileData = $oProfileData;   
        }
        public function fetchGlyphs()
        {
                $g = $this->oProfileData->xpath('/page/characterInfo/characterTab/glyphs/glyph');
                foreach ($g as $item):
                        $glyphs[] = Util::readNode($item);
                endforeach;
                return $glyphs;
        }
        
}

?>